package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.sys.SysUserDto;
import com.atguigu.spzx.model.entity.sys.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2023/12/26
 * description：
 */
@Mapper
public interface SysUserMapper {
    SysUser findSysUserByUsername(String userName);

    List<SysUser> getUserList(SysUserDto sysUserDto);

    void deleteById(Long id);

    void saveUser(SysUser sysUser);

    void updateUser(SysUser sysUser);

    SysUser getUserById(Long id);
}
